<template>
  <div>
    <h1>这是我的数据：?????</h1>
    <button @click="add">+++++1</button>

  </div>
</template>
  
<script>
export default {
  mounted() {
    this.$store.dispatch("search/getGoodsList");
  },
}
</script>
  
<style lang="less" scoped>
div {
  height: 300px;
  background: gainsboro;
  text-align: center;
}
</style>